package com.hksj.ecm.mapper;

import com.hksj.ecm.dto.EnergyFLowDTO;
import com.hksj.ecm.vo.EnergyFLowDeviceVO;
import com.hksj.tdengine.taos.annatation.DS_TAOS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zengke
 * @version 1.0
 * @see EnergyFLowMapper
 * @since 2024/8/8 16:55
 */

@Mapper
public interface EnergyFLowMapper {

    List<EnergyFLowDeviceVO> queryDeviceList(@Param("energyFLowDTO") EnergyFLowDTO energyFLowDTO);

    @DS_TAOS
    List<EnergyFLowDeviceVO> queryEnergyFlowDeviceList(@Param("stableName") String stableName, @Param("energyFLowDTO") EnergyFLowDTO energyFLowDTO);
}
